package landlords.enums;

public enum PokerLevel {
    /*此代码由刘潇仪、韩媛媛、闫文斌、王泳淼、雷芳弟、焦文婷、马快变、马海燕、马玉倩、邵欣雨、李启顺实现，主要功能是实现卡牌花色的枚举*/
    LEVEL_3(3, "3"),
    LEVEL_4(4, "4"),
    LEVEL_5(5, "5"),
    LEVEL_6(6, "6"),
    LEVEL_7(7, "7"),
    LEVEL_8(8, "8"),
    LEVEL_9(9, "9"),
    LEVEL_10(10, "10"),
    LEVEL_J(11, "J"),
    LEVEL_Q(12, "Q"),
    LEVEL_K(13, "K"),
    LEVEL_A(14, "A"),
    LEVEL_2(15, "2"),
    LEVEL_SMALL_KING(16, "SMALL KING"),
    LEVEL_BIG_KING(17, "BIG KING");
    private final int value;
    private final String name;

    PokerLevel(int value, String name) {
        this.value = value;
        this.name=name;
    }
    public int getValue(){
        return value;
    }
    public String getName(){
        return name;
    }
};

